using System;
using System.Xml.Serialization;

namespace DataAccessLayer
{
    [Serializable, XmlType("WeaponBase")]
    [XmlInclude(typeof(RapidFireWeapon))]
    [XmlInclude(typeof(IntenseFireWeapon))]
    [XmlInclude(typeof(FullAutomaticWeapon))]
    [XmlInclude(typeof(SemiAutomaticWeapon))]
    [XmlInclude(typeof(NormalWeapon))]
    public abstract class WeaponBase : GameObject, IShooter
    {
        public int RequiredSlots { get; set; }

        public int BulletCount { get; set; }

        public int ShootInterval { get; set; }
    }
}